package com.credithc.fastdfs.api.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件信息表
 * @author liujiasong
 * @date 2015年5月14日
 * @time 上午10:35:30
 */
public class FdfsInfo implements Serializable{

	private static final long serialVersionUID = -566447926333069437L;

	/**
	 * 主键
	 */
    private String fsId;


    /**
     * 文件主键
     */
    private String fileId;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件后缀类型
     */
    private String fileType;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 缩略图描述
     */
    private String slaveName;

    /**
     * 缩略图数量
     */
    private Integer slaveSize;

    /**
     * 业务ID
     */
    private String businessId;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 上传人
     */
    private String uploadUser;

    /**
     * 上传IP地址
     */
    private String uploadIp;

    /**
     * 系统标识
     */
    private String systemId;
    /**
     * 查询开始时间
     */
    private String beginDate;
    /**
     * 查询结束时间
     */
	private String endDate;
	//文件是否有效：0-有效，1-删除，2-物理删除
	private int fileSaveStatus;
	private int fileDownloadCounts;//文件下次次数 统计 FILE_DOWNLOAD_COUNTS;
	/**统计文件查询总数量*/
	private int fileTotal;
	/**统计查询文件总下载数量*/
	private int fileDownloadTotal;
	/**根据文件大小显示单位KB或MB等*/
	private String stringFileSize;

	public String getStringFileSize() {
		return stringFileSize;
	}

	public void setStringFileSize(String stringFileSize) {
		this.stringFileSize = stringFileSize;
	}

	public String getFsId() {
        return fsId;
    }

    public void setFsId(String fsId) {
        this.fsId = fsId == null ? null : fsId.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getSlaveName() {
        return slaveName;
    }

    public void setSlaveName(String slaveName) {
        this.slaveName = slaveName == null ? null : slaveName.trim();
    }

    public Integer getSlaveSize() {
        return slaveSize;
    }

    public void setSlaveSize(Integer slaveSize) {
        this.slaveSize = slaveSize;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId == null ? null : businessId.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getUploadUser() {
        return uploadUser;
    }

    public void setUploadUser(String uploadUser) {
        this.uploadUser = uploadUser == null ? null : uploadUser.trim();
    }

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getUploadIp() {
		return uploadIp;
	}

	public void setUploadIp(String uploadIp) {
		 this.uploadIp = uploadIp == null ? null : uploadIp.trim();
	}

	public String getSystemId() {
		return systemId;
	}

	public void setSystemId(String systemId) {
		 this.systemId = systemId == null ? null : systemId.trim();
	}

	public int getFileSaveStatus() {
		return fileSaveStatus;
	}

	public void setFileSaveStatus(int fileSaveStatus) {
		this.fileSaveStatus = fileSaveStatus;
	}

	public int getFileDownloadCounts() {
		return fileDownloadCounts;
	}

	public void setFileDownloadCounts(int fileDownloadCounts) {
		this.fileDownloadCounts = fileDownloadCounts;
	}

	public int getFileTotal() {
		return fileTotal;
	}

	public void setFileTotal(int fileTotal) {
		this.fileTotal = fileTotal;
	}

	public int getFileDownloadTotal() {
		return fileDownloadTotal;
	}

	public void setFileDownloadTotal(int fileDownloadTotal) {
		this.fileDownloadTotal = fileDownloadTotal;
	}
}